<span class="<?php echo $class ?>">
  <label for="<?php echo $name ?>"><?php echo $title ?></label>
  <span class="form-element-body">
    <input type="radio" name="<?php echo $name ?>" value="<?php echo $trueValue ?>"<?php echo $value == $trueValue ? ' checked="checked"' : '' ?>"/> <?php echo $trueLabel ?>
    <input type="radio" name="<?php echo $name ?>" value="<?php echo $falseValue ?>"<?php echo $value == $falseValue ? ' checked="checked"' : '' ?>"/> <?php echo $falseLabel ?>
  </span>
</span>